﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace EquationsBankSite.Models.Helpers
{
    public class TreeNode<T>
    {
        public T Data { get; set; }
        public TreeNode<T> Parent { get; set; }
        public List<TreeNode<T>> Children { get; set; }

        public TreeNode()
        {
            Children = new List<TreeNode<T>>();
        }
    }
}